{include file='header.tpl'}
{include file='left.tpl'}
<div id="left-area">
     <div class="related-items clearfix" style="margin-top: 30px;">
    <h3 class="offer-title related_products">
        <span>Новые продукты</span>
    </h3>
   
    {foreach from=$newproducts item=d}
        <div class="main-product" id="tr_{$d->getId()}">
            <a href="{getsuburl route='shopproduct' name=$d->nameshop action='item' id=$d->getId()}" id="name_{$d->getId()}">
               <img class="img" src="{$d->logo}" alt="{$d->name}" style="width:137px;height:121px;">
                  <span class="price-tag"><span class="currency">{$currency}</span>								 
                    {$d->price}        </span>
                                           
            </a>
            <h4 class="title">
                <a href="{getsuburl route='shopproduct' name=$d->nameshop action='item' id=$d->getId()}" id="name_{$d->getId()}">{$d->name|escape}</a>
                                <br>
                <a href="{getsuburl route='shop' name=$d->nameshop}" style="font-size:11px;color:#7C7C7C !important;">({$d->nameshop})</a>
            </h4>
            <div class="et-links clearfix">
              <a href="javascript:void();" onclick="addCart({$d->getId()},'cart')" class="add-to-cart et-shop-item">В корзину</a>
                <a href="{getsuburl route='shopproduct' name=$d->nameshop action='item' id=$d->getId()}" id="name_{$d->getId()}" class="more-info">Описание</a>
            </div> <!-- end .et-links -->
           

        </div>
    {/foreach} 
</div>

     <div class="related-items clearfix" style="margin-top: 30px;">
    <h3 class="offer-title related_products">
        <span>Лидеры продаж</span>
    </h3>
  
    {foreach from=$liderproducts item=d}
        <div class="main-product" id="tr_{$d->getId()}">
            <a href="{getsuburl route='shopproduct' name=$d->nameshop action='item' id=$d->getId()}" id="name_{$d->getId()}">
               <img class="img" src="{$d->logo}" alt="{$d->name}" style="width:137px;height:121px;">
                 <span class="price-tag"><span class="currency">{$currency}</span>								 
                    {$d->price}        </span>
                                           
            </a>
            <h4 class="title">
                <a href="{getsuburl route='shopproduct' name=$d->nameshop action='item' id=$d->getId()}" id="name_{$d->getId()}">{$d->name|escape}</a>
                                <br>
                <a href="{getsuburl route='shop' name=$d->nameshop}" style="font-size:11px;color:#7C7C7C !important;">({$d->nameshop})</a>
            </h4>
            <div class="et-links clearfix">
                <a href="javascript:void();" onclick="addCart({$d->getId()},'cart')" class="add-to-cart et-shop-item">В корзину</a>
                <a href="{getsuburl route='shopproduct' name=$d->nameshop action='item' id=$d->getId()}" id="name_{$d->getId()}" class="more-info">Описание</a>
            </div> <!-- end .et-links -->
           

        </div>
    {/foreach} 
</div>

    </div>
{include file='footer.tpl'}